//
//  MyPageControl.m
//  UI05_UIControl子类
//
//  Created by Scott on 16/3/15.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import "MyPageControl.h"

@implementation MyPageControl

- (instancetype)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if (self) {
        
        [self config];
    }
    return self;
}

- (void)config {
    
    // 指示器颜色.
    self.pageIndicatorTintColor = [UIColor redColor];
    
    // 当前页的颜色
    self.currentPageIndicatorTintColor = [UIColor greenColor];
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
